const mutations = {
    // 设置建议状态统计列表
    SET_CountEventByStatus(state, result) {
        state.CountEventByStatus = result
    },
    // 设置建议类型统计列表
    SET_CountEvent(state, result) {
        state.CountEvent = result
    },
    // 设置建议处理数TOP10
    SET_CountTopList(state, result) {
        state.CountTopList = result
    },
    // 设置建议处理时间分析
    SET_CountTime(state, result) {
        state.CountTime = result
    },
    // 设置建议列表
    SET_AllEvent(state, result) {
        if (result === null) {
            state.AllEvent = null
        } else {
            if (state.AllEvent === null) {
                state.AllEvent = result
            } else {
                state.AllEvent = state.AllEvent.concat(result)
            }
        }
    },
}
export default mutations
